package com.lansen.baidu_map_test;

import android.os.Bundle;

import androidx.annotation.Nullable;
import com.baidu.flutter_bmfbase.BmfContextHelper;
import com.baidu.mapapi.SDKInitializer;

import io.flutter.embedding.android.FlutterActivity;

public class MainActivity extends FlutterActivity {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        BmfContextHelper.sContext = getApplication();
        SDKInitializer.initialize(BmfContextHelper.sContext);
    }
}
